﻿using System;

namespace DataLib.Model
{
    /// <summary>
    /// OutStorage:出库单
    /// </summary>
    [Serializable]
    public partial class OutStorage
    {
        public OutStorage()
        { }
        #region Model
        private int? _id;
        private string _outstorageno;
        private DateTime? _outstoragedate;
        private string _outstoragetype;
        private string _operator;
        private string _indepart;
        private string _outdepart;
        private string _vloadnum;
        private int? _status;
        private string _consumman;
        private decimal? _totalweight = 0M;
        private decimal? _currentweight = 0M;
        private string _belogarea;
        private string _graphiccity;
        private string _storagetype;
        private string _docustomer;
        private string _outsno;
        private string _clearmonth;
        private string _memo;

        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 出库编号
        /// </summary>
        public string outStorageNo
        {
            set { _outstorageno = value; }
            get { return _outstorageno; }
        }
        /// <summary>
        /// 出库日期
        /// </summary>
        public DateTime? outStorageDate
        {
            set { _outstoragedate = value; }
            get { return _outstoragedate; }
        }
        /// <summary>
        /// 出库方式
        /// </summary>
        public string outStorageType
        {
            set { _outstoragetype = value; }
            get { return _outstoragetype; }
        }
        /// <summary>
        /// 操作人员
        /// </summary>
        public string Operator
        {
            set { _operator = value; }
            get { return _operator; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string inDepart
        {
            set { _indepart = value; }
            get { return _indepart; }
        }
        /// <summary>
        /// 调出部门
        /// </summary>
        public string OutDepart
        {
            set { _outdepart = value; }
            get { return _outdepart; }
        }
        /// <summary>
        /// 虚拟LoadNum
        /// </summary>
        public string VLoadNum
        {
            set { _vloadnum = value; }
            get { return _vloadnum; }
        }
        /// <summary>
        /// 1是待入库 0是完成
        /// </summary>
        public int? status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 领料人
        /// </summary>
        public string ConsumMan
        {
            set { _consumman = value; }
            get { return _consumman; }
        }
        /// <summary>
        /// 总重量
        /// </summary>
        public decimal? totalWeight
        {
            set { _totalweight = value; }
            get { return _totalweight; }
        }
        /// <summary>
        /// 当前重量
        /// </summary>
        public decimal? currentWeight
        {
            set { _currentweight = value; }
            get { return _currentweight; }
        }
        /// <summary>
        /// 归属地
        /// </summary>
        public string belogarea
        {
            set { _belogarea = value; }
            get { return _belogarea; }
        }
        /// <summary>
        /// 物理地
        /// </summary>
        public string graphicCity
        {
            set { _graphiccity = value; }
            get { return _graphiccity; }
        }
        /// <summary>
        /// 临时库、原料库（成品库、半成品库）
        /// </summary>
        public string StorageType
        {
            set { _storagetype = value; }
            get { return _storagetype; }
        }
        /// <summary>
        /// 下家
        /// </summary>
        public string DoCustomer
        {
            set { _docustomer = value; }
            get { return _docustomer; }
        }
        /// <summary>
        /// 出库编号
        /// </summary>
        public string OutsNo
        {
            set { _outsno = value; }
            get { return _outsno; }
        }

        /// <summary>
        /// 结算月
        /// </summary>
        public string clearmonth
        {
            set { _clearmonth = value; }
            get { return _clearmonth; }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string memo
        {
            set { _memo = value; }
            get { return _memo; }
        }
        #endregion Model

    }
}

